const mongoose = require('mongoose')
// 创建约束
const schema = new mongoose.Schema({
	index:{type: Number},
	intro: {type: String},
	picture: {type: String},
})
// 输出具备约束的model模型
module.exports = mongoose.model('Rotate', schema)